{{extend 'layout.html'}}

<div dir="ltr" id="login">
	<h2>{{=T( request.args(0).replace('_',' ').capitalize() )}}</h2>
	<br/>
    {{=form}}
    
    {{if request.args(0)=='login':}}
		{{if not 'register' in auth.settings.actions_disabled:}}
		<br/>
		<a href="{{=URL(r=request,args='register')}}">register</a>
		{{pass}}
		{{if not 'request_reset_password' in auth.settings.actions_disabled:}}
			<br/>
			<a href="{{=URL(r=request,args='request_reset_password')}}">lost password</a>
		{{pass}}
	{{pass}}    
</div>


